home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
etc
/
pcmcia
/
network
< prev
next >
Wrap
Text File
|
2005-10-18
|
784b
|
36 lines
#!/bin/sh
if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi
# Get device attributes
get_info $DEVICE
HWADDR=`/sbin/ifconfig $DEVICE | sed -ne 's/.*\(..:..:..:..:..:..\).*/\1/p'`
# Load site-specific settings
ADDRESS="$SCHEME,$SOCKET,$INSTANCE,$HWADDR"
RESOLV=/etc/resolv.conf
# Now, run the specific script for Wireless LAN interfaces
# Note : we need the wireless parameters to be set up before IP parameters,
# so that we can perform DHCP over the Wireless link if needed. Jean II
O_INFO=$INFO ; INFO=
if [ -x ./wireless ] ; then
. ./wireless
else
. /etc/pcmcia/wireless
fi
INFO=$O_INFO
case "${ACTION}" in
"start" | "resume" )
/etc/init.d/net.$DEVICE --quiet start
;;
"stop")
/etc/init.d/net.$DEVICE --quiet stop
;;
"check")
;;
esac